﻿
@{
    ViewData["Title"] = "Index";
}


<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="~/css/table.css" rel="stylesheet" />
    <script src="~/javascript/comm/comm.js"></script>
    <script src="~/javascript/comm/list.js"></script>
    <script src="~/javascript/calendar-ch.js"></script>
    <script src="~/javascript/comm/time.js"></script>
    <link href="~/css/cwcalendar.css" rel="stylesheet" />
</head>

<div id="app">
    <input type="hidden" name="page.startPage" value="0">
    <table width="100%">
        <tr>
            <td>
                <font color="black">您正在做的业务是:人力资源管理--薪酬发放管理--薪酬发放查询</font>
            </td>
        </tr>
        <tr>
            <td>
                <div align="right">
                    <input type="submit" value="查询" v-on:click="SelSalary()" class="BUTTON_STYLE1">
                </div>
            </td>
        </tr>
    </table>
    <table width="100%" border="1" cellpadding=0 cellspacing=1
           bordercolorlight=#848284 bordercolordark=#eeeeee
           class="TABLE_STYLE1">
        <tr>
            <td width="20%" class="TD_STYLE1">
                请输入薪酬单号:
            </td>
            <td class="TD_STYLE2">
                <input type="text" name="salaryID" id="salaryID" class="INPUT_STYLE1" />
            </td>
        </tr>
        <tr>
            <td class="TD_STYLE1">
                请输入关键字:
            </td>
            <td class="TD_STYLE2">
                <input type="text" name="primarKey" id="primarKey" dirname="primarKey" class="INPUT_STYLE1">
            </td>
        </tr>
        <tr>
            <td class="TD_STYLE1">
                请输入发放时间:
            </td>
            <td width="70%" class="TD_STYLE2">
                <input id="faTime" name="faTime" onclick="aa('faTime')" type="text" class="INPUT_STYLE2" style="width:24% " size="30">
                至 <input type="text" id="endTime" name="endTime" onclick="aa('endTime')" style="width:24% " class="INPUT_STYLE2">
                （YYYY-MM-DD）
            </td>
        </tr>
    </table>

</div>
<script type="text/javascript">
    var vm = new Vue({
        el: "#app",
        data: {
        },
        methods: {
            load: function () {
            },
            SelSalary: function () {
                var id = $("#salaryID").val();
                var ke = $("#primarKey").val();
                var stime = $("#faTime").val();
                var etime = $("#endTime").val();
                location.href = '/salaryGrant/query_list?salaryID=' + id + "&ke=" + ke + "&startTime=" + stime + "&endTime=" + etime;               
            }
        },
        mounted: function () {
            this.load();
        }
    });
</script>


